package com.sanadc.shohdi.chapter2.override_object_method;






public class CloneProgram
{
	public static void main(String[] args)
	{
		Employee emp = new Employee();
		
		emp.setEmployeeID (12345);
		
		emp.setFristName("john");
		emp.setLastName("smith");
		Employee  myClone= new Employee();
		
		try
		{
			myClone = (Employee)(emp.clone());
		}
		catch (CloneNotSupportedException ex)
		{
			
		}
		
	}
}